package io.renren.modules.workmanagement.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.workmanagement.entity.QuestionEntity;
import io.renren.modules.workmanagement.vo.QuestionAnswerVO;
import io.renren.modules.workmanagement.vo.qu.QuestionInfoVO;
import io.renren.modules.workmanagement.vo.qu.QuestionVO;

import java.util.List;
import java.util.Map;

/**
 * 问题题目
 *
 * @author yewei
 * @email sunlightcs@gmail.com
 * @date 2022-04-17 16:53:10
 */
public interface QuestionService extends IService<QuestionEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveQuestion(QuestionVO question, Long userId);

    QuestionInfoVO getQuestionInfoVO(Long id);

    void updateQuestion(QuestionVO question, Long userId);

    void removeQuestion(List<Long> asList);

    QuestionAnswerVO getQuestionAnswers(Long workId, Long quId, Long userId);
}

